←Select platform

Remove(TKey) Method

Summary

Removes the element with the specified key from the IDictionary.

Syntax

C#
VB
C++
public virtual bool Remove( 
   TKey key 
) 
  
Public Overloads Overridable Function Remove( _ 
   ByVal key As TKey _ 
) As Boolean 
public: 
virtual bool Remove(  
   _TKey^_ key 
)  

Parameters

key
The key of the element to remove.

Return Value

true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionary.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionkey is null.
System.NotSupportedExceptionThe IDictionary is read-only.
Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly